package model.game;
import java.awt.Dimension;


/**
 * This class contains all information relative to a map like the size of the cells,
 * the map dimension or the path to travel the map.
 * 
 * @author alexandre.altun
 */
public class Map {
	
	private int _cellSize = 25;
	
	private Dimension _mapDim = new Dimension(15, 15);
	
	private Path _path;
	
	
	public Map() {
		
		buildPath();
	}
	
	
	/**
	 * Build the path for this map
	 */
	public void buildPath() {
		
		_path = new Path(new Dimension(_cellSize, _cellSize), _mapDim);
	}


	/**
	 * @return the _cellSize
	 */
	public int getCellSize() {
		
		return _cellSize;
	}


	/**
	 * @return the _mapDim
	 */
	public Dimension getMapDim() {
		
		return _mapDim;
	}


	/**
	 * @return the _path
	 */
	public Path getPath() {
		
		return _path;
	}
	
	
}
